package com.tongcao.cn.service;


import com.tongcao.cn.domain.model.APP;

import java.util.List;

/**
 * @Author:tongcao
 * @Date:2018/8/26 14:53
 * Description:
 */
public interface AppInfoService {

    /**
     * 获取所有app
     *
     * @return
     */
    List<APP> getAllApp();

    /**
     * 分页查询
     *
     * @param num
     * @param pageSize
     * @return
     */
    List<APP> getAppList(int num, int pageSize);

    /**
     * 新增app
     *
     * @param app
     * @return
     */
    Integer insertApp(APP app);

    /**
     * 删除app
     *
     * @param app
     * @return
     */
    Integer deleteApp(APP app);



    APP selectByPrimaryKey(long appId);
}

